﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using BookOnline.Data;

namespace BookOnline.Business
{
    public class AuthorService
    {
        AuthorController control = new AuthorController();
        public DataSet AuthorSelectAll()
        {
            return control.AuthorSelectAll();
        }

        public int AuthorInsert(int AuthorID, string AuthorName, string AuthorPhone, string AuthorAddress)
        {
            return control.AuthorInsert(AuthorID, AuthorName, AuthorPhone, AuthorAddress);
        }
    }
}
